package com.atwisdom.star.core.bsl.planner.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 采购订单
 */
@Data
public class PurchasePlanOrder {
    public final String className = "PurchasePlanOrder";
    //计划订单编号
    private Long id;
    //计划订单编号
    private String code;
    //计划订单名称
    private String name;
    //销售订单编码
    private String orderCode;
    //计划订单日期
    private Date startDate;
    //计划到货日期
    private Date endDate;
    //计划订单状态
    private int status;
    //MrpId
    private Long mrpId;
    //是否锁定
    private boolean locked;
    //已生成计划
    private boolean created;

    private Long materialId;
    private String materialName;
    private String materialPCode;
    private String materialBCode;
    private String materialModel;
    private String materialSpec;
    private String materialUnit;
    private Integer quantity;

    //计划订单明细
    private List<PurchasePlanOrderSub> purchasePlanOrderSubList;
}
